package com.hl.card.modular.pack.service;
import com.hl.card.common.persistence.model.User;
import com.hl.card.common.util.ResponseData;
import com.hl.card.modular.pack.model.DisMemberApplyModel;

import java.util.Map;

public interface DisMemberApplyService{
	
	/**
	 * 合伙人申请
	 * @param disMemberApply
	 * @return
	 */
	public ResponseData addDisMemberApply(DisMemberApplyModel disMemberApply);
	
	
	public ResponseData payDisMemberApply(String user_id, Integer payType, String ip, String openId, String channelId,Integer type,String backUrl,String shopRedirectUrl,String returnUrl);


	public boolean payResult(Map<String, Object> map);
	
	public ResponseData queryIsExistDisMemberApply(String user_id,Integer type);
	
	
	public ResponseData queryDisMemberApply(String user_id);
	
	
	public ResponseData queryDisMemberInfoCode(String code);
		
//	public  String creatID();
	
    public ResponseData cancelDisMemberApply(String user_id,Integer type);
    
    public ResponseData searchDisMemberApplyByUserId(String user_id,Integer type);
    
    public ResponseData queryMemberApplyList(String user_id,Integer type,int currentPage,int pageSize);
    
    public void addShop(DisMemberApplyModel disMemberApply,User user);
    
    public void addSinShop(DisMemberApplyModel disMemberApply,User user);
    
    public void addWhiteShop(DisMemberApplyModel disMemberApply,User user);
    
    public void addStarShop(DisMemberApplyModel disMemberApply,User user);
    
    
}
